﻿using DigitalHealth.PACS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DigitalHealth.PACS.ChatWebSocket.Services
{
    public interface IChatUserRepository
    {
        void Create(ChatUser user);
        void Update(ChatUser user);
        void Delete(ChatUser user);
        IEnumerable<ChatUser> GetChatUsers();
        ChatUser GetChatUserById(string id);
        ChatUser GetChatUserByUserNo(string userNo);
        IEnumerable<ChatUser> GetChatUserByChatGroup(Organization chatGroup);
        bool ChatUserExists(string id);
    }
}
